package com.wyq.domain.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wyq.domain.domain.Note;
import com.wyq.domain.service.NoteService;
import com.wyq.domain.mapper.NoteMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
* @author XueYingHao
* @description 针对表【note】的数据库操作Service实现
* @createDate 2024-09-17 16:54:19
*/
@Service
public class NoteServiceImpl extends ServiceImpl<NoteMapper, Note>
    implements NoteService{

    @Autowired
    private NoteMapper noteMapper;

    @Override
    public Integer[] selectIds() {
        LambdaQueryWrapper<Note> lambdaQueryWrapper = new LambdaQueryWrapper<>();
        lambdaQueryWrapper.eq(Note::getContent,"asbdja");

        return noteMapper.selectIds();
    }
}




